package com.student.pojo;

import java.util.List;

/**
 * @author lin945
 * @date 2020/4/27 22:47
 */
public class LimitPage {

    private String code;
    private int has_next;
    private int num;
    private int total;
    private int totalPage;
    private List<Student> rows;

    public LimitPage() {
    }
    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getHas_next() {
        return has_next;
    }

    public void setHas_next(int has_next) {
        this.has_next = has_next;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<Student> getRows() {
        return rows;
    }

    public void setRows(List<Student> rows) {
        this.rows = rows;
    }

    @Override
    public String toString() {
        return "LimitPage{" +
                "code='" + code + '\'' +
                ", has_next=" + has_next +
                ", num=" + num +
                ", total=" + total +
                ", totalPage=" + totalPage +
                ", rows=" + rows +
                '}';
    }
}
